package com.changgou.goods.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * @Author : 残影
 * @Date: 2020/7/28 16:52
 */
@Data
@Table(name = "tb_spec")
@ApiModel("规格实体类")
public class Spec implements Serializable {
    private static final long serialVersionUID = -43670319100788900L;
    @Id
    @ApiModelProperty("id")
    private Integer id;

    @ApiModelProperty("名称")
    private String name;

    @ApiModelProperty("规格选项")
    private String options;

    @ApiModelProperty("排序")
    private Integer seq;

    @ApiModelProperty("模板id")
    private Integer templateId;
}